<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/color.css">
<script type="text/javascript" src="/xasj/easyui/jquery.min.js"></script>
<script type="text/javascript" src="/xasj/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/xasj/js/resourse/ipres.js"></script>
<script type="text/javascript">

</script>
</head>
<body >
	<div id="dnorth" >
	<div id="devres" style="padding:3px"class="easyui-panel" title="IP资源类型" "
				data-options="iconCls:'icon-save',collapsible:true,minimizable:true,maximizable:true,closable:true">
		<%if(request.getAttribute("dlist")!=null){
			List<Devres> ld=(List<Devres>)request.getAttribute("dlist");
			for(Devres dv:ld){%>
				<a name="dvres" value="<%=dv.getDvbelong()%>"class="easyui-linkbutton c8" data-options="toggle:true,group:'g2'"style="width:100px;height:22px""><strong><%=dv.getDevresname()%></strong></a>
			<%}}%>
	</div>
		</div>
		<div id="p"class="easyui-panel" title="IP资源" data-options="footer:'#ft',iconCls:'icon-save',collapsible:true,minimizable:true,maximizable:true,closable:true">
		<table id="searchres" >
		</table>
		</div >
    	<div id="ft" >    	
    	</div> 
  		
    	<div id="content"class="easyui-panel" title="IP分配情况"data-options="iconCls:'icon-save',collapsible:true,closable:true">
		<table id="ipdeploy" >
		</table>
		</div>
	<div id="dig">
	</div>
	
	<div id="tb1" style="height:auto;display: none;padding-left:10px">
		<div>
			可用IP数: <input id="snum"class="easyui-textbox" style="width:80px">
			To: <input id="tnum" class="easyui-textbox" style="width:80px">
			汇接: 
			<select id="dajuxiang" class="easyui-combobox" panelHeight="auto" style="width:100px">
			<option value="0">请选择</option>
			<%if(request.getAttribute("dajuxiang")!=null){							
				List<Dajuxiang> ld=(List<Dajuxiang>)request.getAttribute("dajuxiang"); 
				for(Dajuxiang djx:ld){%>
					<option value="<%=djx.getDjxId()%>"><%=djx.getDjxname()%></option>
				<%}}%>							
			</select>
			<a href="#" id="searchip" class="easyui-linkbutton" iconCls="icon-search">Search</a>
		</div>
	</div>
	
		<div id="tb2" style="height:auto;display: none;padding-left:10px">
		<div>
			分配状态: 
			<select id="status" class="easyui-combobox" panelHeight="auto" style="width:100px">
			<option value="0">请选择</option>
			<option value="已分配">已分配</option>
			<option value="未分配">未分配</option>							
			</select>
		</div>
	</div>
	<div id="dig">
	</div>
</body>
</html>